object Traversal01 {
  def main(args: Array[String]): Unit = {
      val res = for(i <- 1 to 10 if i % 3 == 0) yield i
    println(res.mkString(","))
  }
}
